package ${package.Entity};

import com.baomidou.mybatisplus.annotation.TableName;
import com.tele.common.bean.DataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author ${author}
 * @version 1.0
 * @date ${.now}
 * @Description ${table.comment}实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("${table.name}")
public class ${entity} extends DataEntity<${entity}> {
<#-- ----------  属性私有化  ---------->
<#list table.fields as field>
    <#if field.propertyType == "LocalDateTime" && field.name!="create_date" && field.name!="update_date">
    /**
     * ${field.comment!}
     */
    private Date ${field.propertyName};

    </#if>
    <#if field.propertyType != "LocalDateTime">
        <#if !field.keyFlag && field.name!="deleted" && field.name!="create_user" && field.name!="create_date" && field.name!="update_user" && field.name!="update_date">
    /**
     * ${field.comment!}
     */
    private ${field.propertyType} ${field.propertyName};

        </#if>
    </#if>
</#list>
}